Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates various dependencies including Spring and H2.
BEFORE DEPLOYMENT
One of the dependency updates is H2 which uses a different database format now. Before deploying this change, the DB should be exported (
/db-admin export-schema include-data: true) and then a new DB should be created (e.g. via the DB console usingjava -jar ~/.m2/repository/com/h2database/h2/2.3.232/h2-2.3.232.jar) and the exported script needs to be executed using:This new DB can then be used instead the old one. If the update needs to be reverted for some reason, I created a backup of the image using the name
dan1st/javabot:backup. The new version is available underdan1st/javabot-test:dep-update(until it's merged)